package com.BlogPark.pojo;

import lombok.Data;
import org.springframework.stereotype.Repository;

import java.util.Date;

/**
 * 发布公告类
 * @Author 业峰
 * @Date 2022/8/19 - 08 - 19 - 17:05
 * @version: 1.0
 */
@Data
@Repository
public class Notice {
    private Integer id;
    private String title;
    private String content;
    private Date date;
    private Integer managerId;
    private String managerName;

    public Notice() {
    }

    public Notice(Integer id, String title, String content, Date date, Integer managerId, String managerName) {
        this.id = id;
        this.title = title;
        this.content = content;
        this.date = date;
        this.managerId = managerId;
        this.managerName = managerName;
    }
}
